<docs>
---
title: ButtonWidth and MaxWidth
---

The `buttonWidth` and `maxWidth` attributes can set the maximum width of the **expand/collapse button** and **expanded content**. Both are `string` type, meaning you can use units like `px`, `%`, `vw`, `vh`, etc.
</docs>

<template>
  <Thinking
    button-width="250px"
    max-width="100%"
    content="Welcome to Element-Plus-X"
  />
</template>
